package rs.dalao.syc.user.all.dao.persist.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import rs.dalao.syc.common.pojo.authentication.CurrentPrincipal;
import rs.dalao.syc.user.all.pojo.entity.UserPersonal;
import rs.dalao.syc.user.all.pojo.vo.UserPersonalListVO;

@Repository
public interface IUserPersonalMapper extends BaseMapper<UserPersonal> {
    //根据id查看用户信息
    UserPersonalListVO selectInfoById(Long id);
    //根据用户id修改用户的真实信息
    int updateByUserId(UserPersonal userPersonal);
}
